<template>
    <div>
        <el-form :inline="true" :model="formInline" class="demo-form-inline">
        <el-form-item label="分站名称">
            <el-input v-model="formInline.stationName" placeholder="请输入分站名称"></el-input>
        </el-form-item>
        <el-form-item label="状态">
            <el-select v-model="formInline.status" placeholder="请选择状态">
            <el-option label="开启" value="1"></el-option>
            <el-option label="关闭" value="2"></el-option>
            </el-select>
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="search">查询</el-button>
        </el-form-item>
        </el-form>
    </div>   
</template>
<script>
import { searchAlert } from '@/api/console'
export default {
  data() {
    return {
      formInline: {
        stationName: '',
        status: ''
      }
    }
  },
  methods: {
    search() {
      searchAlert().then((res) => {
        // console.log(res)
      })
    }
  }
}
</script>
<style scoped>

</style>

